home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d1 / joymouse.arc / JOYMOUSE.DOC < prev    next >
Text File  |  1985-07-18  |  4KB  |  73 lines

  1.                   JOYMOUSE  -  BY Donald L. Roy  (PennRR AT MHVSPA)
  2.                         INTERNAL USE ONLY    10/23/84
  3.  
  4.     Updates:
  5.  
  6.     Version 0.4 - Calls previous occupant of IRPT Vector 1C when through.
  7.                   JOYMOUSE no longer must be early in an AUTOEXEC.
  8.  
  9.                   Allows another program to use the other stick port on
  10.                   each timer tick. (I use a modified version of SPEEDKEY
  11.                   for the KOALA PAD on port 2 via a Y adapter cable.)
  12.  
  13.     Version 0.3 - Adds the "3rd button" as in most 2 button mice. Pressing
  14.                   both buttons simultaniously will insert an ALT-L into the
  15.                   keyboard buffer.
  16.  
  17.                   Fixes problem of keyboard buffer having been loaded with
  18.                   thusfar unused 'arrow keys' at time stick is returned to
  19.                   neutral.  Each return to neutral now clears the buffer.
  20.  
  21.     Version 0.2 - First level
  22.  
  23.     Operation:
  24.  
  25.     This is a program that allows a self centering JOYSTICK to be used for
  26.     the propose of adding 'arrow keys' to the keyboard buffer. Any
  27.     application program that expects arrow keys as input should work with
  28.     this program. It has been tested with the Personal Editor and Multiplan
  29.     in a DOS 2.0 environment.
  30.  
  31.     The program works by installing itself at execution time as interupt 1C
  32.     which is the timer interupt. From then on, at each timer tick the
  33.     joystick is read and action taken accordingly. Subsequent executions of
  34.     the JOYMOUSE.COM program will ask the user to define the buttons on
  35.     the joystick. These definitions are then put into the already working
  36.     copy of the program and the present execution exits leaving the
  37.     original copy operating with the new button values. The joystick values
  38.     are always arrow keys and can not be changed.
  39.  
  40.     At the original execution no request for button definitions is
  41.     requested. The default definitions are button 1 as ALT-B and button 2
  42.     as ALT-C. Pressing both buttons at the same time yields ALT-L. I find
  43.     these most handy for PE.
  44.  
  45.     The program will add arrow keys to the keyboard buffer at 9/sec when
  46.     the joystick is slightly off center and at 54/sec if the stick is
  47.     farther off center. The buttons will go typamatic at the rate 3/sec if
  48.     they are held down.
  49.  
  50.     A method for changing button defaults is as follows:
  51.  
  52.       1) Install JOYMOUSE as the last item using IRPT 1C.
  53.       2) Change the key defs as specified above with a 2nd execution.
  54.       3) Rename JOYMOUSE.COM to X.X
  55.       4) Go into DEBUG on X.X
  56.           A) -D 0:0
  57.                Hex bytes 72-73 are the CS of the presently resident
  58.                copy of the JOYMOUSE program in reverse order.
  59.           B) -D 7372:100        (where 73 is byte 73 and 72 is byte 72)
  60.           C) If you are in the right place you will see the word
  61.                  JOYMOUSE at offset 103.
  62.           D) Note the word long code for button 1 at offset 134-5
  63.           E) Note the word long code for button 2 at offset 136-7
  64.           F) Note the word long code for button 2 at offset 138-9
  65.           G) -D CS:100
  66.           H) The data area of X.X will be displayed
  67.           I) Edit the offsets 134-9 new values.
  68.           J) Write ( -W ) back to disk.
  69.       5) Rename back to JOYMOUSE.COM
  70.       6) You must re-boot to try the new defaults, however the present
  71.           copy now has the same new values and is useable.
  72.  
  73.